package com.xbongbong.pro.script.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2020/5/8 11:11
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class BlacklistBigDataCorpDTO extends BaseDTO {

    private static final long serialVersionUID = 5910315459339852024L;
    @NotBlank(message = "请输入执行密钥")
    private String xbbCode;

    /**
     * 1：添加
     * 0：删除
     */
    @NotNull(message = "请输入添加或者删除的标识add:1添加 0删除")
    private Integer add;

    @NotEmpty(message = "请输入黑名单中添加或者删除的公司id")
    private List<String> blacklistBigDataCorp;

}
